using System;
using System.Collections.Generic;

namespace Xoohoo.Repositories.SqlServerEF.Entities
{
	public class Role
	{
	    public Role()
		{
			this.Permissions = new List<Permission>();
			this.UserGroups = new List<UserGroup>();
			this.Users = new List<User>();
		}

		public System.Guid RoleID { get; set; }
		public string RoleName { get; set; }
		public int DisplayOrder { get; set; }
		public bool IsSystem { get; set; }
		public virtual ICollection<Permission> Permissions { get; set; }
		public virtual ICollection<UserGroup> UserGroups { get; set; }
		public virtual ICollection<User> Users { get; set; }
	}
}

